#ifndef CONSTANTS_H_
#define CONSTANTS_H_

#define FIRST_RUN     "first_run"
#define INTRODUCTION_SCENE   "adu.png"

#define indexMenu         60
#define indexGameLayer 0
#define indexBackground 5
#define indexNets 40
#define indexBird 20
#define indexEgg 50
#define indexText 60
#define indexGameOverLayer 100
#define eggStateStopped 0
#define eggStateMoving 1
#define eggStateFlying 2

#define START_LIFE 0

#define nestsMovingLeft 0
#define nestsMovingRight 1

#define GRAVITY -900

#define ROTATION_SPEED 1

#define fontName "foo.ttf"
#define gameOverFont "FunnyFont.ttf"
#define fontSize 50

#define scoresPositionX 50
#define scoresePositionY 750

#define lifesPositionX 50
#define lifesPositionY 700

#define SCENE_SPLASH 0
#define SCENE_GAME 1
#define SCENE_GAMEOVER 2
#define SCENE_INTRO 3

#define kBestScore "Best Score"
#define kNewBestScore "New Score"

#define SOUND_OFF 0
#define SOUND_ON  1
#define SOUND_STATE "sound_state"

#define BIRD_ID 69
#define CHILD_BIRD_ID 96

#define TOUCH_TO_PLAY "Tap to play"
#define JUMP_SOUND "jumping.flac"
#define JUMP_DONE "jumping_done.mp3"
#define JUMP_FAIL "jumping_fail.mp3"
#define EGG_HIT "egg_hit.ogg"
#define GAME_OVER "GAME OVER"
#define SCORE "Score"
#define BEST "Best"

#define BACKGROUND_MUSIC "bg_sound.ogg"
#define BACKGROUND_IMAGE "backGround.png"
#define EGG_IMAGE "egg.png"
#define NESTS_IMAGE "Nets.png"
#define SOUND_ON_IMAGE "sound_on.png"
#define SOUND_OFF_IMAGE "sound_off.png"
#define GAMEOVER_TABLE "gameover.png"
#define GAME_PLAY_BUTTON "play.png"
#define GAME_PLAY_SHARE "share.png"
#define GAME_RATE_BUTTON "rate.png"
#define GAME_QUIT_BUTTON "quit.png"
#define GAME_TITLE "app_title.png"
#define GAME_TUTORIAL "app_tutorial.png"
#define GAMEOVER_FUN "fun.png"
#define GAMEOVER_SAD "sad.png"
#define COLOR_SCORE ccc3(210, 146, 181)
#define COLOR_BEST ccc3(136, 106, 167)
#define COLOR_GAMEOVER ccc3(196, 104, 146)
#define COLOR_SCORE_IN_GAME ccc3(226,82,82)

#define FONTSIZE_SCORE 30
#define FONTSIZE_GAMEOVER 60
#define birdStateFalpping 1
#define birdStateFalling 2

#define kGameLayer 1000
#define kGameOverLayer 1001

#define NEED_DEL 9999
#define kVelocity 0.5
#endif
